home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 72 / Cine Live 72.iso / pc / Data / Interface / av5.k < prev    next >
Encoding:
Text File  |  2003-04-01  |  5.1 KB  |  235 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000D3,$00000049,$000002D0,$00000280,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000C9,$000000A2,$0000037B,$00000368,$00000026,$00000080,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oVid_o7
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with Flags is $00000004; 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Flags is $00000004; Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Flags is $00000150; 
  64.     Name is "Music"; 
  65.     
  66.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  67.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  68.     Looping is true; 
  69.     URL is "data/Sons/2.mp3"; URLOption is GetDiskURL; 
  70.     
  71. end;
  72.  
  73. object ofond3 is cImage
  74. with 
  75.     Flags is $00000150; 
  76.     Name is "fond"; 
  77.     Enabled is false; 
  78.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  79.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  80.     
  81.     URL is "data/Images/a5.jpg"; URLOption is GetDiskURL; 
  82.     
  83.     
  84. end;
  85.  
  86. object obouton_sommaire4 is cImage
  87. with 
  88.     Flags is $00000150; 
  89.     Name is "bouton sommaire"; 
  90.     Shown is false; Cursor is oFingerCursor; 
  91.     X is 629; Y is 573; 
  92.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  93.     
  94.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  95.     
  96.     
  97.     Events is [
  98.         cMouseEnterEvent
  99.         with Flags is $00000004; 
  100.             Commands is [
  101.                 cShowCommand
  102.                 with Flags is $00000004; Target is obouton_sommaire4; end
  103.             ];
  104.         end,
  105.         cMouseLeaveEvent
  106.         with Flags is $00000004; 
  107.             Commands is [
  108.                 cShowCommand
  109.                 with Flags is $00000004; Target is obouton_sommaire4; Mode is Clear; end
  110.             ];
  111.         end,
  112.         cMouseUpEvent
  113.         with Flags is $00000004; Flag is true; 
  114.             Commands is [
  115.                 cBrowseCommand
  116.                 with Flags is $00000004; URL is "data/Interface/sommaire.k"; URLOption is GetDiskURL; end
  117.             ];
  118.         end
  119.     ];
  120. end;
  121.  
  122. object obouton_retour5 is cImage
  123. with 
  124.     Name is "bouton retour"; 
  125.     Shown is false; Cursor is oFingerCursor; 
  126.     X is 321; Y is 573; 
  127.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  128.     
  129.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  130.     
  131.     
  132.     Events is [
  133.         cMouseEnterEvent
  134.         with 
  135.             Commands is [
  136.                 cShowCommand
  137.                 with Target is oTargetSelf; end
  138.             ];
  139.         end,
  140.         cMouseLeaveEvent
  141.         with 
  142.             Commands is [
  143.                 cShowCommand
  144.                 with Target is oTargetSelf; Mode is Clear; end
  145.             ];
  146.         end,
  147.         cMouseUpEvent
  148.         with Flag is true; 
  149.             Commands is [
  150.                 cBackCommand
  151.                 with end
  152.             ];
  153.         end
  154.     ];
  155. end;
  156.  
  157. object obouton_lancer6 is cImage
  158. with 
  159.     Name is "bouton lancer"; 
  160.     Shown is false; Cursor is oFingerCursor; 
  161.     X is 475; Y is 573; 
  162.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  163.     
  164.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  165.     
  166.     
  167.     Events is [
  168.         cMouseEnterEvent
  169.         with 
  170.             Commands is [
  171.                 cShowCommand
  172.                 with Target is oTargetSelf; end
  173.             ];
  174.         end,
  175.         cMouseLeaveEvent
  176.         with 
  177.             Commands is [
  178.                 cShowCommand
  179.                 with Target is oTargetSelf; Mode is Clear; end
  180.             ];
  181.         end,
  182.         cMouseUpEvent
  183.         with Flag is true; 
  184.             Commands is [
  185.                 cRunCommand
  186.                 with Target is oMusic2; Mode is Clear; Rewind is true; end,
  187.                 cShowCommand
  188.                 with Target is oVid_o7; end,
  189.                 cEnableCommand
  190.                 with Target is oVid_o7; end,
  191.                 cRunCommand
  192.                 with Target is oVid_o7; Rewind is true; end
  193.             ];
  194.         end
  195.     ];
  196. end;
  197.  
  198. object oVid_o7 is cMPEGMovie
  199. with 
  200.     Flags is $00000150; 
  201.     Name is "Vid\$E9o"; 
  202.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  203.     
  204.     Width is 800; Height is 600; 
  205.     
  206.     URL is "data/Videos/a5.mpg"; URLOption is GetDiskURL; 
  207.     Events is [
  208.         cFinishedEvent
  209.         with Flags is $00000004; 
  210.             Commands is [
  211.                 cEnableCommand
  212.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  213.                 cShowCommand
  214.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  215.                 cRunCommand
  216.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  217.                 cRunCommand
  218.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  219.             ];
  220.         end,
  221.         cMouseUpEvent
  222.         with Flags is $00000004; Flag is true; 
  223.             Commands is [
  224.                 cEnableCommand
  225.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  226.                 cShowCommand
  227.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  228.                 cRunCommand
  229.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end,
  230.                 cRunCommand
  231.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  232.             ];
  233.         end
  234.     ];
  235. end;